using System.Collections;
using System.Collections.Generic;
using JKFrame;
using Sirenix.OdinInspector;
using UnityEngine;

[CreateAssetMenu(fileName = "地图配置", menuName = "config/地图配置")]
public class MapConfig : ConfigBase
{
   public Dictionary<MapVertexType,List<MapObjectSpawnConfigModel>> SpawnConfigs = new Dictionary<MapVertexType,List<MapObjectSpawnConfigModel>>();
}

public class MapObjectSpawnConfigModel
{
    [LabelText("空的，不生成物品")] public bool isEmpty = false;
    [LabelText("生成的预制体")]   public GameObject prefab;
    [LabelText("生成物品的概率，百分比类型")] public int Probability;
}
